package pro.cherish.knowledgenotifydistributewebsocket.listener;

/**
 * @author 创建人：cherish
 * @version 版本号：V1.0
 * <p>
 * ***************************修订记录************************************
 * 2019-12-02 cherish 创建该类功能。
 * **********************************************************************
 * </p>
 * @ClassName 类名：MessageEntity
 * @Description 功能说明：
 * <p>
 * TODO
 * </p>
 * **********************************************************************
 * @date 创建日期： 2019-12-02 cherish
 */
import java.io.Serializable;

public class MessageEntity implements Serializable {

    private static final long serialVersionUID = 8632296967087444509L;

    private String id;

    private String content;

    public MessageEntity() {
        super();
    }

    public MessageEntity(String id, String content) {
        super();
        this.id = id;
        this.content = content;
    }

    // getter, setter

    @Override
    public String toString() {
        return "MessageEntity [id=" + id + ", content=" + content + "]";
    }

}

